﻿<%@ page language="java" import="java.util.*" pageEncoding="utf-8"%>
<%@taglib uri="/struts-tags" prefix="s" %>
<%@taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c"%>
<%
String path = request.getContextPath();
String basePath = request.getScheme()+"://"+request.getServerName()+":"+request.getServerPort()+path+"/";
%>
<html lang="zh-Hans" class=" js flexbox canvas canvastext webgl touch geolocation postmessage websqldatabase no-indexeddb hashchange history draganddrop websockets rgba hsla multiplebgs backgroundsize borderimage borderradius boxshadow textshadow opacity cssanimations csscolumns cssgradients cssreflections csstransforms csstransforms3d csstransitions fontface generatedcontent video audio localstorage sessionstorage webworkers applicationcache svg inlinesvg smil svgclippaths">
<head>
<meta charset="UTF-8">	
<meta name="viewport" content="width=device-width; initial-scale=1.0; maximumscale=1.0;">  
<meta name="apple-mobile-web-app-capable" content="yes">  
<meta name="apple-touch-fullscreen" content="yes">  
<meta name="description" content="">  
<meta name="keywords" content=""> 
<meta name="apple-itunes-app" content="app-id=388097988"> 
<meta name="baidu-site-verification" content="zf85xTS2FV">	
 <link rel="stylesheet" href="<%=request.getContextPath()%>/admin/css/pintuer.css">
<link rel="stylesheet" href="files/fonts.css">	
<link rel="stylesheet" href="files/style-mobile.css">  
<title>信银天下</title>  
<link  rel="stylesheet" href="files/shelf.css">
<link  rel="stylesheet" href="files/jquery.mmenu.all.css">
<script src="<%=request.getContextPath()%>/admin/js/jquery.js"></script>
</head>

<body class="index" style="">




 <div id="mm-0" class="mm-page mm-slideout">
 <div id="content" class="container">
  
      <header class="m-header post-header">	
     
        
 <a href="#" class="txt-logo" title=""><h1>信银•资讯</h1></a>
</header>    
 <div class="m">                <section class="index">               

<ul class="xunhuan">
<s:iterator value="posts">
<li>
   <div class="post-card">  
               
   <a href="<%=request.getContextPath() %>/w/post!findbyid.action?sid=${sid}&id1=<s:property value="id"/>" title="">          
   <img src="<%=request.getContextPath()%>/<s:property value="img"/>" />        
   </a> 
             
    <h2>
    <a href="<%=request.getContextPath() %>/w/post!findbyid.action?sid=${sid}&id1=<s:property value="id"/>" class="p-title"><s:property value="title"/></a>
    </h2>    
      <div class="info clear" id="post">       
       <span class="author">
       <i class="icon-head"></i>                     
        <a href="<%=request.getContextPath() %>/w/post!findbyid.action?sid=${sid}&id1=<s:property value="id"/>" title=""><s:property value="writer"/></a>               
           </span>
           <i class="dot">•</i>     
              <time><s:property value="time"/></time>      
              </div>  
              <a href="<%=request.getContextPath() %>/w/post!findbyid.action?sid=${sid}&id1=<s:property value="id"/>" class="p-title"> 
                 <p><s:property value="yinwen"/></p> 
                 </a>
                      <div class="info clear">       
               <span class="author">       
                          <i class="icon-tag2"></i>
                      </span> </div>  
      </div> 
 </li>
 </s:iterator>
 </ul>
 </br>
 
 <form>
<input type="hidden" id="page" value="${page}"/>

 
</form>
<a href="javascript:void(0);" onclick="submit()">
<div style="text-align:center;"><button id="button" class="button radius-rounded">点击加载更多</button></div>
</a>


           </br> </br> </br> </br></br>  

  

  <a href="javascript:scroll(0,0)">
  <div style="position:fixed;width:10%;height:40px;right:10px;bottom:60px;text-

align:center;line-height:40px;color:white;">
 <button class="button button-little radius-rounded"> <span class="icon-arrow-up text-gray"></span></button>
 </div>
 </a>


<!--底部菜单开始-->
 <s:include value="/w/tmpfoot.jsp"></s:include>	
   </div></div></div>
              
 

<script type="text/javascript">



   function submit(){
        
    var page2=document.getElementById("page").value;
   
      var page =page2*1+1;
   document.getElementById("page").value=page;
   
     $.ajax({
					'url':'post!findall1.action',
					'type':'post',
					'data':'page='+page,
					'dataType':'json',
					'success':function(data){
					
					document.getElementById("button").innerHTML="点击加载更多";
	               for(i=0;i<data.length;i++){
	                var s = data[i];
							
	            $('.xunhuan').append(
							
	           '<li><div class="post-card"> <a href="<%=request.getContextPath() %>/w/post!findbyid.com.kecheng.action?sid=${sid}&id1='
	          + s.id 
	         + ' " ><img src="<%=request.getContextPath() %>/'
	        + s.img
	      + '"/> </a><h2><a href="<%=request.getContextPath() %>/w/post!findbyid.com.kecheng.action?sid=${sid}&id1= '
	      + s.id 
	      + '" class="p-title">'
	      +s.title						                        
	       +'</a>  </h2>   <div class="info clear">   <span class="author"><i class="icon-head"></i> <a href="<%=request.getContextPath() %>/w/post!findbyid.com.kecheng.action?sid=${sid}&id1='
         +s.id
        +'" title="">'    
        +s.writer
        +'</a>  </span><i class="dot">•</i>  <time>'
        +s.time
        +'</time> </div> <a href="<%=request.getContextPath() %>/w/post!findbyid.com.kecheng.action?sid=${sid}  &id1='
        +s.id
        +'" class="p-title"> <p>'
        +s.yinwen
        +'</p> </a><div class="info clear"> <span class="author"> <i class="icon-tag2"></i>  </span> </div>  </div></li>'
       );
	 					
						}
					},
					'error':function(){
				   alert("加载不到更多信息");
					
					}
				});
				
		document.getElementById("button").innerHTML="正在加载...";
   
   
				}
			
   
   
  
</script>
 
   	
  </body></html>
<divstyle="display:none">
<script language="javascript" type="text/javascript" src="http://js.users.51.la/17561955.js"></script>
<noscript><a href="http://www.51.la/?17561955" target="_blank"><img alt="&#x6211;&#x8981;&#x5566;&#x514D;&#x8D39;&#x7EDF;&#x8BA1;" src="http://img.users.51.la/17561955.asp" style="border:none" /></a></noscript>   </div>